package com.file.manage.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author H41
 * @Type SaveFolderStencil.java
 * @date 2025/6/1 1:20
 * @Desc 保存文件夹模板请求参数
 */
@Data
@Schema(title = "保存文件夹模板请求参数")
public class SaveFolderStencilRequest {

    @Schema(title = "id, 新增时为空, 修改时为文件夹模板id", nullable = true)
    private String id;

    @Schema(title = "文件夹名称", nullable = true)
    @NotBlank(message = "文件夹名称不能为空")
    private String name;

    @Schema(title = "父级层级", nullable = true)
    @NotNull(message = "父级层级不能为空")
    private Integer parentLevel;
}
